package com.week.tiny_video.service;

import com.week.tiny_video.pojo.User;

import java.util.List;

public interface UserService {

    public boolean isExist(String username);

    public User getByName(String username);

    public User get(String username,String password);

    public void add(User user);

    public User getById(int id);

    public List<User> list();

    public void update(User user);

    public void delete(int id);

}
